<?xml version="1.0" ?>
<map height="8" tileheight="32" tileset="tiles/fleet" tilewidth="64" width="10">
<layer z="0">
<tiles>
    48 1 48 1 48 1 48 1 0 1    48 1 48 1 48 1 48 1 0 1    48 1 48 1 48 1 48 1 0 2    48 1 48 1 48 1 48 1 0 1    48 1 48 1 48 1 48 1 0 1    48 1 48 1 48 1 48 1 0 2    48 1 48 1 48 1 48 1 0 1    48 1 48 1 48 1 48 1 0 1    48 1 48 1 48 1 48 1 0 2    0 0 0 0 0 0 0 0 0 0    
    48 1 48 1 48 1 48 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 0 0 0 0 0 0 0 0 0    
    48 1 48 1 48 1 48 1 0 2    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 0 0 0 0 0 0 0 0 0    
    48 1 48 1 48 1 48 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 0 0 0 0 0 0 0 0 0    
    48 1 48 1 48 1 48 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 0 0 0 0 0 0 0 0 0    
    48 1 48 1 48 1 48 1 0 2    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 0 0 0 0 0 0 0 0 0    
    48 1 48 1 48 1 48 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 0 0 0 0 0 0 0 0 0    
    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 0 0    
</tiles>

<!-- Play our minigame if we haven't been caught yet. -->
<if code="import PartyManager;partyManager=PartyManager.getPartyManager()" cond="not partyManager.hasRecord('fleet_caught_by_captain')">
    <area script="locations/fleet/minigame.py" />
</if>
<!-- If we have been caught, we want the room events. -->
<if code="import PartyManager;partyManager=PartyManager.getPartyManager()" cond="partyManager.hasRecord('fleet_caught_by_captain')">
    <area script="locations/fleet/room.py" />
</if>

</layer>

<onload>
import annchienta, PartyManager, BattleManager

partyManager = PartyManager.getPartyManager()
battleManager = BattleManager.getBattleManager()
annchienta.getAudioManager().playMusic(&quot;music/title.ogg&quot;)
annchienta.getVideoManager().setClearColor(147,201,233)
battleManager.setRandomBattleEnemies( [] )
</onload>

</map>
